/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

/**
 *
 *
 * @author wcs
 * @date 2021-3-8
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListExaminationQuestionRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 题库
	 */
	@ApiModelProperty("题库")
	private String category;
	/**
	 * 题型
	 */
	@ApiModelProperty("题型")
	private Integer type;
	/**
	 * 难度：0-未定义，1-容易、2-常规、3-较难、4-很难
	 */
	@ApiModelProperty("难度：0-未定义，1-容易、2-常规、3-较难、4-很难")
	private Integer difficulty;
	/**
	 * 每题分数
	 */
	@ApiModelProperty("每题分数")
	private Integer score;
	/**
	 * 题目
	 */
	@ApiModelProperty("题目")
	private String content;

}
